package com.lovo.ssc.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_pendingCommodity")
@ApiModel(value = "待上架商品实体类")
public class Pendingcommodity extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Integer id;

    /**
     * 商品编号
     */
    @TableField("commodityCode")
    @ApiModelProperty(value = "商品编号")
    private String commoditycode;

    /**
     * 商品名
     */
    @TableField("commodityName")
    @ApiModelProperty(value = "商品名")
    private String commodityname;

    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String norms;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private Integer price;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer number;


}
